package com.cate.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.Min;

/**
 * @CreateTime: 2023/7/28
 * @Author: <==lhd==>
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BasePageDTO {
    /**
     * 页码
     */
    @Min(value = 1,message = "page>=1")
    private Integer page;

    /**
     * 每夜记录数
     */
    @Min(value = 1,message = "pageSize>=1")
    private Integer pageSize;
}
